package org.neurone.userspace.userinfo.impl;

import org.neurone.userspace.dao.DaoServer;

public class MessageFaceLocalFactory {
	protected DaoServer daoServer;
	
	public MessageFaceLocal getNewMessageFace(Long messageID)
	{
		MessageFaceLocal mfl = new MessageFaceLocal();
		mfl.setMessageDao(this.daoServer.getMessageDao());
		mfl.initByMessageID(messageID);
	
		return mfl;
	}

	public DaoServer getDaoServer() {
		return daoServer;
	}

	public void setDaoServer(DaoServer daoServer) {
		this.daoServer = daoServer;
	}
}
